<!DOCTYPE html>
<html>
  <head>
    <title>CSS Motion Path: offset-path:url() reference to non-SVG elements</title>
    <link rel="help" href="https://drafts.fxtf.org/motion/#valdef-offset-path-url">
    <link rel="match" href="offset-path-url-011-ref.html">
    <meta name="assert" content='This tests that url() references to a non-SVG
      element and behaves as path("m 0 0") instead.'>
    <style>
      #outer {
        position: relative;
        left: 50px;
        top: 50px;
        width: 300px;
        height: 100px;
      }
      #target {
        width: 50px;
        height: 50px;
        background-color: green;
        /* This behaves as 'offset-path: path("m 0 0")' */
        offset-path: url(#outer);
        offset-anchor: 50% 50%;
        offset-distance: 0%;
        border-radius: 50% 50% 0 0;
      }
    </style>
  </head>
  <body>
    <div id="outer">
      <div id="target"></div>
    </div>
  </body>
</html>
